package com.baidu.service.impl;

import com.baidu.utils.ResultResponse;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.baidu.pojo.TbCity;
import com.baidu.service.TbCityService;
import com.baidu.mapper.TbCityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 */
@Service
public class TbCityServiceImpl extends ServiceImpl<TbCityMapper, TbCity>
implements TbCityService{

    @Resource
    TbCityMapper tbCityMapper;

    @Override
    public List<TbCity> sanji(Integer pid) {
        return tbCityMapper.sanji(pid);
    }
}




